export default (router,services,middlewares) => {
    router.get('/api/findOne',middlewares,async (ctx,next)=>{
        const res = await services.findOne.getOne(ctx.request.query.productId);
        ctx.body = res.data;
    })
}